package com.oepm.dao.mapper;

import com.oepm.dao.entity.AcademyPo;
import com.oepm.dao.entity.AcademysPo;
import com.oepm.dao.entity.MajorsPo;
import org.springframework.stereotype.Repository;

import java.util.List;

//学院
@Repository
public interface AcademyMapper {
    //查询学院专业
    List<AcademyPo> selectAll();
    //查询学院
    List<AcademysPo> selectAcademy();
    //查询专业
    List<MajorsPo> selectMajor(String academy);
    //更新学院,增加专业
    int updateMajor(AcademyPo academyPo);
    //添加学院
    int insertAcademy(AcademyPo academyPo);
    //删除
    int deleteAcademy(String id);

}
